Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Lock sonar scanner and mint versions and get rid of brew #3578

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

testableapple
Copy link
Contributor

@testableapple testableapple commented Jan 30, 2025

🥷 Problem

  • Sonar released a new version that broke our pipeline LLC testing. While investigating I figured out that we do not lock the sonar-scanner and mint versions (even though we did, they were not locked on CI)
  • Test results were not published to Sonar on merges to develop and main

📝 Summary

  • Lock sonar-scanner and mint versions
  • Get rid of brew
    • sonar-scanner is now installed via downloading an image directly
    • mint is now installed via mint itself
  • Move LLC test action to a separate workflow so the results can be published to SonarCloud on merges to develop and main as well as on PRs

@testableapple testableapple added the 🤖 CI/CD Any work related to CI/CD label Jan 30, 2025
@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Jan 30, 2025

SDK Size

title develop branch diff status
StreamChat 7.02 MB 7.02 MB 0 KB 🟢
StreamChatUI 4.77 MB 4.77 MB 0 KB 🟢

@testableapple testableapple changed the title [CI] Lock sonar scanner version [CI] Lock sonar scanner and mint versions and get rid of brew Jan 30, 2025
@testableapple testableapple marked this pull request as ready for review January 30, 2025 16:48
@testableapple testableapple requested a review from a team as a code owner January 30, 2025 16:48
Copy link
Member

@nuno-vieira nuno-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✅

- name: Parse xcresult
if: failure()
run: |
brew install chargepoint/xcparse/xcparse
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is still OK to install with homebrew, right? Asking because there was a comment above about homebrew.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is used only when tests fail, which should be a rare case. But can't install it another way.

@testableapple testableapple merged commit 0795cff into develop Jan 31, 2025
12 checks passed
@testableapple testableapple deleted the ci/lock-sonar-version branch January 31, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 CI/CD Any work related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants